<nav role="navigation" class="navbar navbar-default">
    <!-- Collection of nav links and other content for toggling -->
    <div id="navbarCollapse" class="collapse navbar-collapse">
        <ul class="nav navbar-nav">
            <li ><a href="index.php"><span class="glyphicon glyphicon-home"></span></a></li>
            <li class="dropdown">
                <a data-toggle="dropdown" class="dropdown-toggle" href="#"><?PHP $fgmembersite->GetString('Line-up','Xếp hàng')?><b class="caret"></b></a>
                <ul role="menu" class="dropdown-menu">
					<li><a href="create-new-group.php"><?PHP $fgmembersite->GetString('Create New Group','Tạo nhóm mới')?></a></li>
					<li><a href="search-group.php"><?PHP $fgmembersite->GetString('Search Group','Tìm kiếm')?></a></li>
					<li><a href="list-groups.php"><?PHP $fgmembersite->GetString('List Group','Danh sách nhóm')?></a></li>
                </ul>
            </li>
        </ul>
        <ul class="nav navbar-nav navbar-right">
			<?PHP
			if($_SESSION['vn'] == 0)
			{
				print '<li ><a href="toggle_language.php"><img src="./img/flag_vietnam.jpg"></a></li>';
			}
			else
			{
				print '<li ><a href="toggle_language.php"><img src="./img/flag_great_britain.png"></a></li>';
			}
			if($_SESSION['login'] == 1)
			{
				print '<li ><a href="">'.$_SESSION['user_name'].'</a></li>';
				print '<li><a href="logout.php">'.$fgmembersite->GetString1('Logout','Đăng xuất').'</a></li>';
			}
			else
			{
				print '<li><a href="login.php">'.$fgmembersite->GetString1('Login','Đăng nhập').'</a></li>';
			}
			print '<li><a href="sign-up.php">'.$fgmembersite->GetString1('Sign up','Đăng ký').'</a></li>';
			?>
        </ul>
    </div>
</nav>